<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<fieldset><legend>胰岛功能检测</legend>
<table class="list">
	<caption>糖尿病类型：<span id="diabetesType"></span></caption>
	<thead>
		<tr>
			<th>实验项目</th>
			<th>空&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;腹</th>
			<th>餐后1小时</th>
			<th>餐后2小时</th>
			<th>餐后3小时</th>
			<th>单位</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td class="head">血糖</td>
			<td><c:out value="${patient.check.bloodSugar.emptyBloodSugar}" />&nbsp;</td>
			<td><c:out value="${patient.check.bloodSugar.oneHourBloodSugar}" />&nbsp;</td>
			<td><c:out value="${patient.check.bloodSugar.twoHourBloodSugar}" />&nbsp;</td>
			<td><c:out
				value="${patient.check.bloodSugar.threeHourBloodSugar}" />&nbsp;</td>
			<td>mmol/L</td>
		</tr>
		<tr>
			<td class="head">胰岛素分泌</td>
			<td><c:out value="${patient.check.insulin.emptyInsulin}" />&nbsp;</td>
			<td><c:out value="${patient.check.insulin.oneHourInsulin}" />&nbsp;</td>
			<td><c:out value="${patient.check.insulin.twoHourInsulin}" />&nbsp;</td>
			<td><c:out value="${patient.check.insulin.threeHourInsulin}" />&nbsp;</td>
			<td>μIμ/mL</td>
		</tr>
		<tr>
			<td class="head">C-P 分泌</td>
			<td><c:out value="${patient.check.cp.emptyCP}" />&nbsp;</td>
			<td><c:out value="${patient.check.cp.oneHourCP}" />&nbsp;</td>
			<td><c:out value="${patient.check.cp.twoHourCP}" />&nbsp;</td>
			<td><c:out value="${patient.check.cp.threeHourCP}" />&nbsp;</td>
			<td>mg/mL</td>
		</tr>
	</tbody>
</table>
</fieldset>
<div class="strip"><a class="submit"
	href="${ctx}/check/edit.do?patientId=${patient.patientId}">修&nbsp;&nbsp;&nbsp;改</a>
</div>
<script type="text/javascript">
	$(document).ready(function() {
		$('#diabetesType').text(diabetesType['${patient.check.diabetesType}']);
	});
</script>
